package com.toman.JavaBean;


import java.io.Serializable;

import anet.channel.util.StringUtils;
import lombok.Data;
import lombok.NonNull;

/**
 * @Author: shaojx
 * @Date: 2018/9/11 16:15
 * @Description:
 */
public class Counts12 implements Serializable {
    /**
     * 完工数量
     */
    private String completedCount;
    /**
     * 合格数量
     */
    private String qualifiedCount;
    /**
     * 报废数量
     */
    private String scrappedCount;
    /**
     * 料废数量
     */
    private String wasteCount;
    /**
     * 返工数量
     */
    private String remakeCount;
    /**
     * 回用数量
     */
    private String reuseCount;

    public String getCompletedCount() {
        return completedCount;
    }

    public void setCompletedCount(String completedCount) {
        this.completedCount = completedCount;
    }

    public String getQualifiedCount() {
        return qualifiedCount;
    }

    public void setQualifiedCount(String qualifiedCount) {
        this.qualifiedCount = qualifiedCount;
    }

    public String getScrappedCount() {
        return scrappedCount;
    }

    public void setScrappedCount(String scrappedCount) {
        this.scrappedCount = scrappedCount;
    }

    public String getWasteCount() {
        return wasteCount;
    }

    public void setWasteCount(String wasteCount) {
        this.wasteCount = wasteCount;
    }

    public String getRemakeCount() {
        return remakeCount;
    }

    public void setRemakeCount(String remakeCount) {
        this.remakeCount = remakeCount;
    }

    public String getReuseCount() {
        return reuseCount;
    }

    public void setReuseCount(String reuseCount) {
        this.reuseCount = reuseCount;
    }

    public String getVerifyCompletedCount() {
        return verifyCompletedCount;
    }

    public void setVerifyCompletedCount(String verifyCompletedCount) {
        this.verifyCompletedCount = verifyCompletedCount;
    }

    public String getVerifyQualifiedCount() {
        return verifyQualifiedCount;
    }

    public void setVerifyQualifiedCount(String verifyQualifiedCount) {
        this.verifyQualifiedCount = verifyQualifiedCount;
    }

    public String getVerifyScrappedCount() {
        return verifyScrappedCount;
    }

    public void setVerifyScrappedCount(String verifyScrappedCount) {
        this.verifyScrappedCount = verifyScrappedCount;
    }

    public String getVerifyWasteCount() {
        return verifyWasteCount;
    }

    public void setVerifyWasteCount(String verifyWasteCount) {
        this.verifyWasteCount = verifyWasteCount;
    }

    public String getVerifyRemakeCount() {
        return verifyRemakeCount;
    }

    public void setVerifyRemakeCount(String verifyRemakeCount) {
        this.verifyRemakeCount = verifyRemakeCount;
    }

    public String getVerifyReuseCount() {
        return verifyReuseCount;
    }

    public void setVerifyReuseCount(String verifyReuseCount) {
        this.verifyReuseCount = verifyReuseCount;
    }

    /**
     * 完工数量
     */
    private String verifyCompletedCount;
    /**
     * 合格数量
     */
    private String verifyQualifiedCount;
    /**
     * 报废数量
     */
    private String verifyScrappedCount;
    /**
     * 料废数量
     */
    private String verifyWasteCount;
    /**
     * 返工数量
     */
    private String verifyRemakeCount;
    /**
     * 回用数量
     */
    private String verifyReuseCount;

    public Counts12() {
        this.fillEmpty2Zero();
    }

    public void fillEmpty2Zero() {
        if (StringUtils.isBlank(completedCount)) {
            this.completedCount = "0";
        }
        if (StringUtils.isBlank(qualifiedCount)) {
            this.qualifiedCount = "0";
        }
        if (StringUtils.isBlank(scrappedCount)) {
            this.scrappedCount = "0";
        }
        if (StringUtils.isBlank(wasteCount)) {
            this.wasteCount = "0";
        }
        if (StringUtils.isBlank(remakeCount)) {
            this.remakeCount = "0";
        }
        if (StringUtils.isBlank(reuseCount)) {
            this.reuseCount = "0";
        }
        if (StringUtils.isBlank(verifyCompletedCount)) {
            this.verifyCompletedCount = "0";
        }
        if (StringUtils.isBlank(verifyQualifiedCount)) {
            this.verifyQualifiedCount = "0";
        }
        if (StringUtils.isBlank(verifyScrappedCount)) {
            this.verifyScrappedCount = "0";
        }
        if (StringUtils.isBlank(verifyWasteCount)) {
            this.verifyWasteCount = "0";
        }
        if (StringUtils.isBlank(verifyRemakeCount)) {
            this.verifyRemakeCount = "0";
        }
        if (StringUtils.isBlank(verifyReuseCount)) {
            this.verifyReuseCount = "0";
        }
    }
}
